<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Qwt User&#39;s Guide: qwt_abstract_scale_draw.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Qwt User&#39;s Guide
   &#160;<span id="projectnumber">6.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('qwt__abstract__scale__draw_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">qwt_abstract_scale_draw.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="comment">/******************************************************************************</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="comment"> * Qwt Widget Library</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="comment"> * Copyright (C) 1997   Josef Wilgen</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="comment"> * Copyright (C) 2002   Uwe Rathmann</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="comment"> *</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment"> * This library is free software; you can redistribute it and/or</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160;<span class="comment"> * modify it under the terms of the Qwt License, Version 1.0</span></div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment"> *****************************************************************************/</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#include &quot;qwt_abstract_scale_draw.h&quot;</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#include &quot;qwt_text.h&quot;</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &quot;qwt_painter.h&quot;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;<span class="preprocessor">#include &quot;qwt_scale_map.h&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#include &quot;qwt_math.h&quot;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno">   15</span>&#160; </div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#include &lt;qpainter.h&gt;</span></div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="preprocessor">#include &lt;qpalette.h&gt;</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#include &lt;qmap.h&gt;</span></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;<span class="preprocessor">#include &lt;qlist.h&gt;</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#include &lt;qlocale.h&gt;</span></div>
<div class="line"><a name="l00021"></a><span class="lineno">   21</span>&#160; </div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="keyword">class </span>QwtAbstractScaleDraw::PrivateData</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160;{</div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160;  <span class="keyword">public</span>:</div>
<div class="line"><a name="l00025"></a><span class="lineno">   25</span>&#160;    PrivateData():</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">spacing</a>( 4.0 ),</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#ad0e889e3a5b5af8adb0d6a507e7fbc95">penWidthF</a>( 0.0 ),</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160;        minExtent( 0.0 )</div>
<div class="line"><a name="l00029"></a><span class="lineno">   29</span>&#160;    {</div>
<div class="line"><a name="l00030"></a><span class="lineno">   30</span>&#160;        components = <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a61a6c4f4dec2b089edfb655e2b21c3a2">QwtAbstractScaleDraw::Backbone</a></div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160;            | <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a1f23d080ce1229a0c4f70469e88acce0">QwtAbstractScaleDraw::Ticks</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;            | <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5ad2709d7efbb6f1618f0a8a3b6cafae96">QwtAbstractScaleDraw::Labels</a>;</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160; </div>
<div class="line"><a name="l00034"></a><span class="lineno">   34</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">tickLength</a>[<a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">QwtScaleDiv::MinorTick</a>] = 4.0;</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">tickLength</a>[<a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca42fbe3ad54900057e75225ff5e68cc4a">QwtScaleDiv::MediumTick</a>] = 6.0;</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">tickLength</a>[<a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a>] = 8.0;</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    }</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno">   39</span>&#160;    <a class="code" href="class_qwt_abstract_scale_draw.html#af900d3a139451b70e6ce5acee5e2df7e">ScaleComponents</a> components;</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160; </div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;    <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a> map;</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a> <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>;</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">spacing</a>;</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;    <span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">tickLength</a>[<a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">QwtScaleDiv::NTickTypes</a>];</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    qreal <a class="code" href="class_qwt_abstract_scale_draw.html#ad0e889e3a5b5af8adb0d6a507e7fbc95">penWidthF</a>;</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160; </div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    <span class="keywordtype">double</span> minExtent;</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno">   50</span>&#160;    <a class="code" href="class_q_map.html">QMap&lt; double, QwtText &gt;</a> labelCache;</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;};</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a19c944664a2e36f06ae71b745fbd442e">   60</a></span>&#160;<a class="code" href="class_qwt_abstract_scale_draw.html#a19c944664a2e36f06ae71b745fbd442e">QwtAbstractScaleDraw::QwtAbstractScaleDraw</a>()</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;{</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;    m_data = <span class="keyword">new</span> QwtAbstractScaleDraw::PrivateData;</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;}</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160; </div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#adc4d3f491b28ee39d728a4a4a9cdd494">   66</a></span>&#160;<a class="code" href="class_qwt_abstract_scale_draw.html#adc4d3f491b28ee39d728a4a4a9cdd494">QwtAbstractScaleDraw::~QwtAbstractScaleDraw</a>()</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;{</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;    <span class="keyword">delete</span> m_data;</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;}</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160; </div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#af975410588db6103f281e49d0b43c6a6">   79</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#af975410588db6103f281e49d0b43c6a6">QwtAbstractScaleDraw::enableComponent</a>(</div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;    <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5">ScaleComponent</a> component, <span class="keywordtype">bool</span> enable )</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;{</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;    <span class="keywordflow">if</span> ( enable )</div>
<div class="line"><a name="l00083"></a><span class="lineno">   83</span>&#160;        m_data-&gt;components |= component;</div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160;    <span class="keywordflow">else</span></div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;        m_data-&gt;components &amp;= ~component;</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160;}</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160; </div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">   95</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">QwtAbstractScaleDraw::hasComponent</a>( <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5">ScaleComponent</a> component )<span class="keyword"> const</span></div>
<div class="line"><a name="l00096"></a><span class="lineno">   96</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00097"></a><span class="lineno">   97</span>&#160;    <span class="keywordflow">return</span> ( m_data-&gt;components &amp; component );</div>
<div class="line"><a name="l00098"></a><span class="lineno">   98</span>&#160;}</div>
<div class="line"><a name="l00099"></a><span class="lineno">   99</span>&#160; </div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a149792f955cc3f05c16362338bcc98c4">  104</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a149792f955cc3f05c16362338bcc98c4">QwtAbstractScaleDraw::setScaleDiv</a>( <span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a>&amp; scaleDiv )</div>
<div class="line"><a name="l00105"></a><span class="lineno">  105</span>&#160;{</div>
<div class="line"><a name="l00106"></a><span class="lineno">  106</span>&#160;    m_data-&gt;scaleDiv = <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>;</div>
<div class="line"><a name="l00107"></a><span class="lineno">  107</span>&#160;    m_data-&gt;map.setScaleInterval( <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>.<a class="code" href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">lowerBound</a>(), <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">scaleDiv</a>.<a class="code" href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">upperBound</a>() );</div>
<div class="line"><a name="l00108"></a><span class="lineno">  108</span>&#160;    m_data-&gt;labelCache.clear();</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;}</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00115"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a732d0e49c9092c48893b4f71cc7357db">  115</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a732d0e49c9092c48893b4f71cc7357db">QwtAbstractScaleDraw::setTransformation</a>( <a class="code" href="class_qwt_transform.html">QwtTransform</a>* transformation )</div>
<div class="line"><a name="l00116"></a><span class="lineno">  116</span>&#160;{</div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    m_data-&gt;map.setTransformation( transformation );</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160;}</div>
<div class="line"><a name="l00119"></a><span class="lineno">  119</span>&#160; </div>
<div class="line"><a name="l00121"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a2582c30e82f8977877ac8044253f1fb8">  121</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; <a class="code" href="class_qwt_abstract_scale_draw.html#a2582c30e82f8977877ac8044253f1fb8">QwtAbstractScaleDraw::scaleMap</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00122"></a><span class="lineno">  122</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00123"></a><span class="lineno">  123</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;map;</div>
<div class="line"><a name="l00124"></a><span class="lineno">  124</span>&#160;}</div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ae7488eb63ad73a2e69acb29ff069c904">  127</a></span>&#160;<a class="code" href="class_qwt_scale_map.html">QwtScaleMap</a>&amp; <a class="code" href="class_qwt_abstract_scale_draw.html#a2582c30e82f8977877ac8044253f1fb8">QwtAbstractScaleDraw::scaleMap</a>()</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;{</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;map;</div>
<div class="line"><a name="l00130"></a><span class="lineno">  130</span>&#160;}</div>
<div class="line"><a name="l00131"></a><span class="lineno">  131</span>&#160; </div>
<div class="line"><a name="l00133"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">  133</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_scale_div.html">QwtScaleDiv</a>&amp; <a class="code" href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">QwtAbstractScaleDraw::scaleDiv</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;scaleDiv;</div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;}</div>
<div class="line"><a name="l00137"></a><span class="lineno">  137</span>&#160; </div>
<div class="line"><a name="l00144"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a6401e26332d65433e0b881400a1ce03b">  144</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a6401e26332d65433e0b881400a1ce03b">QwtAbstractScaleDraw::setPenWidthF</a>( qreal width )</div>
<div class="line"><a name="l00145"></a><span class="lineno">  145</span>&#160;{</div>
<div class="line"><a name="l00146"></a><span class="lineno">  146</span>&#160;    <span class="keywordflow">if</span> ( width &lt; 0.0 )</div>
<div class="line"><a name="l00147"></a><span class="lineno">  147</span>&#160;        width = 0.0;</div>
<div class="line"><a name="l00148"></a><span class="lineno">  148</span>&#160; </div>
<div class="line"><a name="l00149"></a><span class="lineno">  149</span>&#160;    m_data-&gt;penWidthF = width;</div>
<div class="line"><a name="l00150"></a><span class="lineno">  150</span>&#160;}</div>
<div class="line"><a name="l00151"></a><span class="lineno">  151</span>&#160; </div>
<div class="line"><a name="l00156"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ad0e889e3a5b5af8adb0d6a507e7fbc95">  156</a></span>&#160;qreal <a class="code" href="class_qwt_abstract_scale_draw.html#ad0e889e3a5b5af8adb0d6a507e7fbc95">QwtAbstractScaleDraw::penWidthF</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00157"></a><span class="lineno">  157</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00158"></a><span class="lineno">  158</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;penWidthF;</div>
<div class="line"><a name="l00159"></a><span class="lineno">  159</span>&#160;}</div>
<div class="line"><a name="l00160"></a><span class="lineno">  160</span>&#160; </div>
<div class="line"><a name="l00169"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ac4442d7480db1288971e7eac15142467">  169</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#ac4442d7480db1288971e7eac15142467">QwtAbstractScaleDraw::draw</a>( QPainter* painter,</div>
<div class="line"><a name="l00170"></a><span class="lineno">  170</span>&#160;    <span class="keyword">const</span> QPalette&amp; palette )<span class="keyword"> const</span></div>
<div class="line"><a name="l00171"></a><span class="lineno">  171</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00172"></a><span class="lineno">  172</span>&#160;    painter-&gt;save();</div>
<div class="line"><a name="l00173"></a><span class="lineno">  173</span>&#160; </div>
<div class="line"><a name="l00174"></a><span class="lineno">  174</span>&#160;    QPen pen = painter-&gt;pen();</div>
<div class="line"><a name="l00175"></a><span class="lineno">  175</span>&#160;    pen.setWidthF( m_data-&gt;penWidthF );</div>
<div class="line"><a name="l00176"></a><span class="lineno">  176</span>&#160; </div>
<div class="line"><a name="l00177"></a><span class="lineno">  177</span>&#160;    painter-&gt;setPen( pen );</div>
<div class="line"><a name="l00178"></a><span class="lineno">  178</span>&#160; </div>
<div class="line"><a name="l00179"></a><span class="lineno">  179</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">hasComponent</a>( <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5ad2709d7efbb6f1618f0a8a3b6cafae96">QwtAbstractScaleDraw::Labels</a> ) )</div>
<div class="line"><a name="l00180"></a><span class="lineno">  180</span>&#160;    {</div>
<div class="line"><a name="l00181"></a><span class="lineno">  181</span>&#160;        painter-&gt;save();</div>
<div class="line"><a name="l00182"></a><span class="lineno">  182</span>&#160;        painter-&gt;setPen( palette.color( QPalette::Text ) ); <span class="comment">// ignore pen style</span></div>
<div class="line"><a name="l00183"></a><span class="lineno">  183</span>&#160; </div>
<div class="line"><a name="l00184"></a><span class="lineno">  184</span>&#160;        <span class="keyword">const</span> <a class="code" href="class_q_list.html">QList&lt; double &gt;</a>&amp; majorTicks =</div>
<div class="line"><a name="l00185"></a><span class="lineno">  185</span>&#160;            m_data-&gt;scaleDiv.ticks( <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a> );</div>
<div class="line"><a name="l00186"></a><span class="lineno">  186</span>&#160; </div>
<div class="line"><a name="l00187"></a><span class="lineno">  187</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; majorTicks.count(); i++ )</div>
<div class="line"><a name="l00188"></a><span class="lineno">  188</span>&#160;        {</div>
<div class="line"><a name="l00189"></a><span class="lineno">  189</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> v = majorTicks[i];</div>
<div class="line"><a name="l00190"></a><span class="lineno">  190</span>&#160;            <span class="keywordflow">if</span> ( m_data-&gt;scaleDiv.contains( v ) )</div>
<div class="line"><a name="l00191"></a><span class="lineno">  191</span>&#160;                <a class="code" href="class_qwt_abstract_scale_draw.html#aa78dc8bf05a0224450c947af54128d8d">drawLabel</a>( painter, v );</div>
<div class="line"><a name="l00192"></a><span class="lineno">  192</span>&#160;        }</div>
<div class="line"><a name="l00193"></a><span class="lineno">  193</span>&#160; </div>
<div class="line"><a name="l00194"></a><span class="lineno">  194</span>&#160;        painter-&gt;restore();</div>
<div class="line"><a name="l00195"></a><span class="lineno">  195</span>&#160;    }</div>
<div class="line"><a name="l00196"></a><span class="lineno">  196</span>&#160; </div>
<div class="line"><a name="l00197"></a><span class="lineno">  197</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">hasComponent</a>( <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a1f23d080ce1229a0c4f70469e88acce0">QwtAbstractScaleDraw::Ticks</a> ) )</div>
<div class="line"><a name="l00198"></a><span class="lineno">  198</span>&#160;    {</div>
<div class="line"><a name="l00199"></a><span class="lineno">  199</span>&#160;        painter-&gt;save();</div>
<div class="line"><a name="l00200"></a><span class="lineno">  200</span>&#160; </div>
<div class="line"><a name="l00201"></a><span class="lineno">  201</span>&#160;        pen = painter-&gt;pen();</div>
<div class="line"><a name="l00202"></a><span class="lineno">  202</span>&#160;        pen.setColor( palette.color( QPalette::WindowText ) );</div>
<div class="line"><a name="l00203"></a><span class="lineno">  203</span>&#160;        pen.setCapStyle( Qt::FlatCap );</div>
<div class="line"><a name="l00204"></a><span class="lineno">  204</span>&#160; </div>
<div class="line"><a name="l00205"></a><span class="lineno">  205</span>&#160;        painter-&gt;setPen( pen );</div>
<div class="line"><a name="l00206"></a><span class="lineno">  206</span>&#160; </div>
<div class="line"><a name="l00207"></a><span class="lineno">  207</span>&#160;        <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> tickType = <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">QwtScaleDiv::MinorTick</a>;</div>
<div class="line"><a name="l00208"></a><span class="lineno">  208</span>&#160;            tickType &lt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">QwtScaleDiv::NTickTypes</a>; tickType++ )</div>
<div class="line"><a name="l00209"></a><span class="lineno">  209</span>&#160;        {</div>
<div class="line"><a name="l00210"></a><span class="lineno">  210</span>&#160;            <span class="keyword">const</span> <span class="keywordtype">double</span> tickLen = m_data-&gt;tickLength[tickType];</div>
<div class="line"><a name="l00211"></a><span class="lineno">  211</span>&#160;            <span class="keywordflow">if</span> ( tickLen &lt;= 0.0 )</div>
<div class="line"><a name="l00212"></a><span class="lineno">  212</span>&#160;                <span class="keywordflow">continue</span>;</div>
<div class="line"><a name="l00213"></a><span class="lineno">  213</span>&#160; </div>
<div class="line"><a name="l00214"></a><span class="lineno">  214</span>&#160;            <span class="keyword">const</span> <a class="code" href="class_q_list.html">QList&lt; double &gt;</a>&amp; ticks = m_data-&gt;scaleDiv.ticks( tickType );</div>
<div class="line"><a name="l00215"></a><span class="lineno">  215</span>&#160;            <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; ticks.count(); i++ )</div>
<div class="line"><a name="l00216"></a><span class="lineno">  216</span>&#160;            {</div>
<div class="line"><a name="l00217"></a><span class="lineno">  217</span>&#160;                <span class="keyword">const</span> <span class="keywordtype">double</span> v = ticks[i];</div>
<div class="line"><a name="l00218"></a><span class="lineno">  218</span>&#160;                <span class="keywordflow">if</span> ( m_data-&gt;scaleDiv.contains( v ) )</div>
<div class="line"><a name="l00219"></a><span class="lineno">  219</span>&#160;                    <a class="code" href="class_qwt_abstract_scale_draw.html#a31791e80bf07d23adbe500740aac5a58">drawTick</a>( painter, v, tickLen );</div>
<div class="line"><a name="l00220"></a><span class="lineno">  220</span>&#160;            }</div>
<div class="line"><a name="l00221"></a><span class="lineno">  221</span>&#160;        }</div>
<div class="line"><a name="l00222"></a><span class="lineno">  222</span>&#160; </div>
<div class="line"><a name="l00223"></a><span class="lineno">  223</span>&#160;        painter-&gt;restore();</div>
<div class="line"><a name="l00224"></a><span class="lineno">  224</span>&#160;    }</div>
<div class="line"><a name="l00225"></a><span class="lineno">  225</span>&#160; </div>
<div class="line"><a name="l00226"></a><span class="lineno">  226</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">hasComponent</a>( <a class="code" href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a61a6c4f4dec2b089edfb655e2b21c3a2">QwtAbstractScaleDraw::Backbone</a> ) )</div>
<div class="line"><a name="l00227"></a><span class="lineno">  227</span>&#160;    {</div>
<div class="line"><a name="l00228"></a><span class="lineno">  228</span>&#160;        painter-&gt;save();</div>
<div class="line"><a name="l00229"></a><span class="lineno">  229</span>&#160; </div>
<div class="line"><a name="l00230"></a><span class="lineno">  230</span>&#160;        pen = painter-&gt;pen();</div>
<div class="line"><a name="l00231"></a><span class="lineno">  231</span>&#160;        pen.setColor( palette.color( QPalette::WindowText ) );</div>
<div class="line"><a name="l00232"></a><span class="lineno">  232</span>&#160;        pen.setCapStyle( Qt::FlatCap );</div>
<div class="line"><a name="l00233"></a><span class="lineno">  233</span>&#160; </div>
<div class="line"><a name="l00234"></a><span class="lineno">  234</span>&#160;        painter-&gt;setPen( pen );</div>
<div class="line"><a name="l00235"></a><span class="lineno">  235</span>&#160; </div>
<div class="line"><a name="l00236"></a><span class="lineno">  236</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#a15994a6033e689c3acdb8d83ae4f2a1c">drawBackbone</a>( painter );</div>
<div class="line"><a name="l00237"></a><span class="lineno">  237</span>&#160; </div>
<div class="line"><a name="l00238"></a><span class="lineno">  238</span>&#160;        painter-&gt;restore();</div>
<div class="line"><a name="l00239"></a><span class="lineno">  239</span>&#160;    }</div>
<div class="line"><a name="l00240"></a><span class="lineno">  240</span>&#160; </div>
<div class="line"><a name="l00241"></a><span class="lineno">  241</span>&#160;    painter-&gt;restore();</div>
<div class="line"><a name="l00242"></a><span class="lineno">  242</span>&#160;}</div>
<div class="line"><a name="l00243"></a><span class="lineno">  243</span>&#160; </div>
<div class="line"><a name="l00254"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a074675cd805656f0ae158f84745074af">  254</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a074675cd805656f0ae158f84745074af">QwtAbstractScaleDraw::setSpacing</a>( <span class="keywordtype">double</span> spacing )</div>
<div class="line"><a name="l00255"></a><span class="lineno">  255</span>&#160;{</div>
<div class="line"><a name="l00256"></a><span class="lineno">  256</span>&#160;    <span class="keywordflow">if</span> ( <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">spacing</a> &lt; 0 )</div>
<div class="line"><a name="l00257"></a><span class="lineno">  257</span>&#160;        <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">spacing</a> = 0;</div>
<div class="line"><a name="l00258"></a><span class="lineno">  258</span>&#160; </div>
<div class="line"><a name="l00259"></a><span class="lineno">  259</span>&#160;    m_data-&gt;spacing = <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">spacing</a>;</div>
<div class="line"><a name="l00260"></a><span class="lineno">  260</span>&#160;}</div>
<div class="line"><a name="l00261"></a><span class="lineno">  261</span>&#160; </div>
<div class="line"><a name="l00271"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">  271</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">QwtAbstractScaleDraw::spacing</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00272"></a><span class="lineno">  272</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00273"></a><span class="lineno">  273</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;spacing;</div>
<div class="line"><a name="l00274"></a><span class="lineno">  274</span>&#160;}</div>
<div class="line"><a name="l00275"></a><span class="lineno">  275</span>&#160; </div>
<div class="line"><a name="l00289"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ac174255c334b995ca010a6964597d5f2">  289</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#ac174255c334b995ca010a6964597d5f2">QwtAbstractScaleDraw::setMinimumExtent</a>( <span class="keywordtype">double</span> minExtent )</div>
<div class="line"><a name="l00290"></a><span class="lineno">  290</span>&#160;{</div>
<div class="line"><a name="l00291"></a><span class="lineno">  291</span>&#160;    <span class="keywordflow">if</span> ( minExtent &lt; 0.0 )</div>
<div class="line"><a name="l00292"></a><span class="lineno">  292</span>&#160;        minExtent = 0.0;</div>
<div class="line"><a name="l00293"></a><span class="lineno">  293</span>&#160; </div>
<div class="line"><a name="l00294"></a><span class="lineno">  294</span>&#160;    m_data-&gt;minExtent = minExtent;</div>
<div class="line"><a name="l00295"></a><span class="lineno">  295</span>&#160;}</div>
<div class="line"><a name="l00296"></a><span class="lineno">  296</span>&#160; </div>
<div class="line"><a name="l00302"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#abdd97b4bedda111df8208ec96a894f8f">  302</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#abdd97b4bedda111df8208ec96a894f8f">QwtAbstractScaleDraw::minimumExtent</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00303"></a><span class="lineno">  303</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00304"></a><span class="lineno">  304</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;minExtent;</div>
<div class="line"><a name="l00305"></a><span class="lineno">  305</span>&#160;}</div>
<div class="line"><a name="l00306"></a><span class="lineno">  306</span>&#160; </div>
<div class="line"><a name="l00315"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a7fed388e435aae791d61f48cc9ddf632">  315</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a7fed388e435aae791d61f48cc9ddf632">QwtAbstractScaleDraw::setTickLength</a>(</div>
<div class="line"><a name="l00316"></a><span class="lineno">  316</span>&#160;    <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">QwtScaleDiv::TickType</a> tickType, <span class="keywordtype">double</span> length )</div>
<div class="line"><a name="l00317"></a><span class="lineno">  317</span>&#160;{</div>
<div class="line"><a name="l00318"></a><span class="lineno">  318</span>&#160;    <span class="keywordflow">if</span> ( tickType &lt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">QwtScaleDiv::MinorTick</a> ||</div>
<div class="line"><a name="l00319"></a><span class="lineno">  319</span>&#160;        tickType &gt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a> )</div>
<div class="line"><a name="l00320"></a><span class="lineno">  320</span>&#160;    {</div>
<div class="line"><a name="l00321"></a><span class="lineno">  321</span>&#160;        <span class="keywordflow">return</span>;</div>
<div class="line"><a name="l00322"></a><span class="lineno">  322</span>&#160;    }</div>
<div class="line"><a name="l00323"></a><span class="lineno">  323</span>&#160; </div>
<div class="line"><a name="l00324"></a><span class="lineno">  324</span>&#160;    <span class="keywordflow">if</span> ( length &lt; 0.0 )</div>
<div class="line"><a name="l00325"></a><span class="lineno">  325</span>&#160;        length = 0.0;</div>
<div class="line"><a name="l00326"></a><span class="lineno">  326</span>&#160; </div>
<div class="line"><a name="l00327"></a><span class="lineno">  327</span>&#160;    <span class="keyword">const</span> <span class="keywordtype">double</span> maxTickLen = 1000.0;</div>
<div class="line"><a name="l00328"></a><span class="lineno">  328</span>&#160;    <span class="keywordflow">if</span> ( length &gt; maxTickLen )</div>
<div class="line"><a name="l00329"></a><span class="lineno">  329</span>&#160;        length = maxTickLen;</div>
<div class="line"><a name="l00330"></a><span class="lineno">  330</span>&#160; </div>
<div class="line"><a name="l00331"></a><span class="lineno">  331</span>&#160;    m_data-&gt;tickLength[tickType] = length;</div>
<div class="line"><a name="l00332"></a><span class="lineno">  332</span>&#160;}</div>
<div class="line"><a name="l00333"></a><span class="lineno">  333</span>&#160; </div>
<div class="line"><a name="l00338"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">  338</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">QwtAbstractScaleDraw::tickLength</a>( <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">QwtScaleDiv::TickType</a> tickType )<span class="keyword"> const</span></div>
<div class="line"><a name="l00339"></a><span class="lineno">  339</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00340"></a><span class="lineno">  340</span>&#160;    <span class="keywordflow">if</span> ( tickType &lt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">QwtScaleDiv::MinorTick</a> ||</div>
<div class="line"><a name="l00341"></a><span class="lineno">  341</span>&#160;        tickType &gt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a> )</div>
<div class="line"><a name="l00342"></a><span class="lineno">  342</span>&#160;    {</div>
<div class="line"><a name="l00343"></a><span class="lineno">  343</span>&#160;        <span class="keywordflow">return</span> 0;</div>
<div class="line"><a name="l00344"></a><span class="lineno">  344</span>&#160;    }</div>
<div class="line"><a name="l00345"></a><span class="lineno">  345</span>&#160; </div>
<div class="line"><a name="l00346"></a><span class="lineno">  346</span>&#160;    <span class="keywordflow">return</span> m_data-&gt;tickLength[tickType];</div>
<div class="line"><a name="l00347"></a><span class="lineno">  347</span>&#160;}</div>
<div class="line"><a name="l00348"></a><span class="lineno">  348</span>&#160; </div>
<div class="line"><a name="l00355"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ab3713ea053eb3d6327b18a3d14c7b820">  355</a></span>&#160;<span class="keywordtype">double</span> <a class="code" href="class_qwt_abstract_scale_draw.html#ab3713ea053eb3d6327b18a3d14c7b820">QwtAbstractScaleDraw::maxTickLength</a>()<span class="keyword"> const</span></div>
<div class="line"><a name="l00356"></a><span class="lineno">  356</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00357"></a><span class="lineno">  357</span>&#160;    <span class="keywordtype">double</span> length = 0.0;</div>
<div class="line"><a name="l00358"></a><span class="lineno">  358</span>&#160;    <span class="keywordflow">for</span> ( <span class="keywordtype">int</span> i = 0; i &lt; <a class="code" href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">QwtScaleDiv::NTickTypes</a>; i++ )</div>
<div class="line"><a name="l00359"></a><span class="lineno">  359</span>&#160;        length = qwtMaxF( length, m_data-&gt;tickLength[i] );</div>
<div class="line"><a name="l00360"></a><span class="lineno">  360</span>&#160; </div>
<div class="line"><a name="l00361"></a><span class="lineno">  361</span>&#160;    <span class="keywordflow">return</span> length;</div>
<div class="line"><a name="l00362"></a><span class="lineno">  362</span>&#160;}</div>
<div class="line"><a name="l00363"></a><span class="lineno">  363</span>&#160; </div>
<div class="line"><a name="l00375"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#ac1d855f856b746559c41f4f06ec5442d">  375</a></span>&#160;<a class="code" href="class_qwt_text.html">QwtText</a> <a class="code" href="class_qwt_abstract_scale_draw.html#ac1d855f856b746559c41f4f06ec5442d">QwtAbstractScaleDraw::label</a>( <span class="keywordtype">double</span> value )<span class="keyword"> const</span></div>
<div class="line"><a name="l00376"></a><span class="lineno">  376</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00377"></a><span class="lineno">  377</span>&#160;    <span class="keywordflow">return</span> QLocale().toString( value );</div>
<div class="line"><a name="l00378"></a><span class="lineno">  378</span>&#160;}</div>
<div class="line"><a name="l00379"></a><span class="lineno">  379</span>&#160; </div>
<div class="line"><a name="l00393"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a9325b265f351e9135cdbb9368e53f68a">  393</a></span>&#160;<span class="keyword">const</span> <a class="code" href="class_qwt_text.html">QwtText</a>&amp; <a class="code" href="class_qwt_abstract_scale_draw.html#a9325b265f351e9135cdbb9368e53f68a">QwtAbstractScaleDraw::tickLabel</a>(</div>
<div class="line"><a name="l00394"></a><span class="lineno">  394</span>&#160;    <span class="keyword">const</span> QFont&amp; font, <span class="keywordtype">double</span> value )<span class="keyword"> const</span></div>
<div class="line"><a name="l00395"></a><span class="lineno">  395</span>&#160;<span class="keyword"></span>{</div>
<div class="line"><a name="l00396"></a><span class="lineno">  396</span>&#160;    <a class="code" href="class_q_map.html">QMap&lt; double, QwtText &gt;::const_iterator</a> it1 = m_data-&gt;labelCache.constFind( value );</div>
<div class="line"><a name="l00397"></a><span class="lineno">  397</span>&#160;    <span class="keywordflow">if</span> ( it1 != m_data-&gt;labelCache.constEnd() )</div>
<div class="line"><a name="l00398"></a><span class="lineno">  398</span>&#160;        <span class="keywordflow">return</span> *it1;</div>
<div class="line"><a name="l00399"></a><span class="lineno">  399</span>&#160; </div>
<div class="line"><a name="l00400"></a><span class="lineno">  400</span>&#160;    <a class="code" href="class_qwt_text.html">QwtText</a> lbl = <a class="code" href="class_qwt_abstract_scale_draw.html#ac1d855f856b746559c41f4f06ec5442d">label</a>( value );</div>
<div class="line"><a name="l00401"></a><span class="lineno">  401</span>&#160;    lbl.<a class="code" href="class_qwt_text.html#afcbaa37913afaa0e92a649923cfe500b">setRenderFlags</a>( 0 );</div>
<div class="line"><a name="l00402"></a><span class="lineno">  402</span>&#160;    lbl.<a class="code" href="class_qwt_text.html#a2b621d3104ead2185d2d939b1f5b9d68">setLayoutAttribute</a>( <a class="code" href="class_qwt_text.html#a0953aabc098f410dba89bbada47f2e5aa35990c4c74747580e9357d490ebce42f">QwtText::MinimumLayout</a> );</div>
<div class="line"><a name="l00403"></a><span class="lineno">  403</span>&#160; </div>
<div class="line"><a name="l00404"></a><span class="lineno">  404</span>&#160;    ( void )lbl.<a class="code" href="class_qwt_text.html#a40ec54788db82cfb2941cff8c4621c15">textSize</a>( font ); <span class="comment">// initialize the internal cache</span></div>
<div class="line"><a name="l00405"></a><span class="lineno">  405</span>&#160; </div>
<div class="line"><a name="l00406"></a><span class="lineno">  406</span>&#160;    <a class="code" href="class_q_map.html">QMap&lt; double, QwtText &gt;::iterator</a> it2 = m_data-&gt;labelCache.insert( value, lbl );</div>
<div class="line"><a name="l00407"></a><span class="lineno">  407</span>&#160;    <span class="keywordflow">return</span> *it2;</div>
<div class="line"><a name="l00408"></a><span class="lineno">  408</span>&#160;}</div>
<div class="line"><a name="l00409"></a><span class="lineno">  409</span>&#160; </div>
<div class="line"><a name="l00417"></a><span class="lineno"><a class="line" href="class_qwt_abstract_scale_draw.html#a4ed95cd23c5d779c1b05aa5295409aa6">  417</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_qwt_abstract_scale_draw.html#a4ed95cd23c5d779c1b05aa5295409aa6">QwtAbstractScaleDraw::invalidateCache</a>()</div>
<div class="line"><a name="l00418"></a><span class="lineno">  418</span>&#160;{</div>
<div class="line"><a name="l00419"></a><span class="lineno">  419</span>&#160;    m_data-&gt;labelCache.clear();</div>
<div class="line"><a name="l00420"></a><span class="lineno">  420</span>&#160;}</div>
<div class="ttc" id="aclass_q_list_html"><div class="ttname"><a href="class_q_list.html">QList&lt; double &gt;</a></div></div>
<div class="ttc" id="aclass_q_map_html"><div class="ttname"><a href="class_q_map.html">QMap&lt; double, QwtText &gt;</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a074675cd805656f0ae158f84745074af"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a074675cd805656f0ae158f84745074af">QwtAbstractScaleDraw::setSpacing</a></div><div class="ttdeci">void setSpacing(double)</div><div class="ttdoc">Set the spacing between tick and labels.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00254">qwt_abstract_scale_draw.cpp:254</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a149792f955cc3f05c16362338bcc98c4"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a149792f955cc3f05c16362338bcc98c4">QwtAbstractScaleDraw::setScaleDiv</a></div><div class="ttdeci">void setScaleDiv(const QwtScaleDiv &amp;)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00104">qwt_abstract_scale_draw.cpp:104</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a15994a6033e689c3acdb8d83ae4f2a1c"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a15994a6033e689c3acdb8d83ae4f2a1c">QwtAbstractScaleDraw::drawBackbone</a></div><div class="ttdeci">virtual void drawBackbone(QPainter *painter) const =0</div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a19c944664a2e36f06ae71b745fbd442e"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a19c944664a2e36f06ae71b745fbd442e">QwtAbstractScaleDraw::QwtAbstractScaleDraw</a></div><div class="ttdeci">QwtAbstractScaleDraw()</div><div class="ttdoc">Constructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00060">qwt_abstract_scale_draw.cpp:60</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a2582c30e82f8977877ac8044253f1fb8"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a2582c30e82f8977877ac8044253f1fb8">QwtAbstractScaleDraw::scaleMap</a></div><div class="ttdeci">const QwtScaleMap &amp; scaleMap() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00121">qwt_abstract_scale_draw.cpp:121</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a26215d06a4d48adf401d0aa05d4193c5"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5">QwtAbstractScaleDraw::ScaleComponent</a></div><div class="ttdeci">ScaleComponent</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8h_source.html#l00039">qwt_abstract_scale_draw.h:40</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a26215d06a4d48adf401d0aa05d4193c5a1f23d080ce1229a0c4f70469e88acce0"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a1f23d080ce1229a0c4f70469e88acce0">QwtAbstractScaleDraw::Ticks</a></div><div class="ttdeci">@ Ticks</div><div class="ttdoc">Ticks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8h_source.html#l00045">qwt_abstract_scale_draw.h:45</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a26215d06a4d48adf401d0aa05d4193c5a61a6c4f4dec2b089edfb655e2b21c3a2"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5a61a6c4f4dec2b089edfb655e2b21c3a2">QwtAbstractScaleDraw::Backbone</a></div><div class="ttdeci">@ Backbone</div><div class="ttdoc">Backbone = the line where the ticks are located.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8h_source.html#l00042">qwt_abstract_scale_draw.h:42</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a26215d06a4d48adf401d0aa05d4193c5ad2709d7efbb6f1618f0a8a3b6cafae96"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a26215d06a4d48adf401d0aa05d4193c5ad2709d7efbb6f1618f0a8a3b6cafae96">QwtAbstractScaleDraw::Labels</a></div><div class="ttdeci">@ Labels</div><div class="ttdoc">Labels.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8h_source.html#l00049">qwt_abstract_scale_draw.h:48</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a31791e80bf07d23adbe500740aac5a58"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a31791e80bf07d23adbe500740aac5a58">QwtAbstractScaleDraw::drawTick</a></div><div class="ttdeci">virtual void drawTick(QPainter *painter, double value, double len) const =0</div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a4ed95cd23c5d779c1b05aa5295409aa6"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a4ed95cd23c5d779c1b05aa5295409aa6">QwtAbstractScaleDraw::invalidateCache</a></div><div class="ttdeci">void invalidateCache()</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00417">qwt_abstract_scale_draw.cpp:417</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a52fe17714fe96564b0d88af27e96e58f"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a52fe17714fe96564b0d88af27e96e58f">QwtAbstractScaleDraw::tickLength</a></div><div class="ttdeci">double tickLength(QwtScaleDiv::TickType) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00338">qwt_abstract_scale_draw.cpp:338</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a6401e26332d65433e0b881400a1ce03b"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a6401e26332d65433e0b881400a1ce03b">QwtAbstractScaleDraw::setPenWidthF</a></div><div class="ttdeci">void setPenWidthF(qreal width)</div><div class="ttdoc">Specify the width of the scale pen.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00144">qwt_abstract_scale_draw.cpp:144</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a732d0e49c9092c48893b4f71cc7357db"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a732d0e49c9092c48893b4f71cc7357db">QwtAbstractScaleDraw::setTransformation</a></div><div class="ttdeci">void setTransformation(QwtTransform *)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00115">qwt_abstract_scale_draw.cpp:115</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a7fed388e435aae791d61f48cc9ddf632"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a7fed388e435aae791d61f48cc9ddf632">QwtAbstractScaleDraw::setTickLength</a></div><div class="ttdeci">void setTickLength(QwtScaleDiv::TickType, double length)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00315">qwt_abstract_scale_draw.cpp:315</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a8a69a890d349a9e03c145b20b5835e8a"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a8a69a890d349a9e03c145b20b5835e8a">QwtAbstractScaleDraw::hasComponent</a></div><div class="ttdeci">bool hasComponent(ScaleComponent) const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00095">qwt_abstract_scale_draw.cpp:95</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_a9325b265f351e9135cdbb9368e53f68a"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#a9325b265f351e9135cdbb9368e53f68a">QwtAbstractScaleDraw::tickLabel</a></div><div class="ttdeci">const QwtText &amp; tickLabel(const QFont &amp;, double value) const</div><div class="ttdoc">Convert a value into its representing label and cache it.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00393">qwt_abstract_scale_draw.cpp:393</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_aa78dc8bf05a0224450c947af54128d8d"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#aa78dc8bf05a0224450c947af54128d8d">QwtAbstractScaleDraw::drawLabel</a></div><div class="ttdeci">virtual void drawLabel(QPainter *painter, double value) const =0</div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ab3713ea053eb3d6327b18a3d14c7b820"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ab3713ea053eb3d6327b18a3d14c7b820">QwtAbstractScaleDraw::maxTickLength</a></div><div class="ttdeci">double maxTickLength() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00355">qwt_abstract_scale_draw.cpp:355</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_abdd97b4bedda111df8208ec96a894f8f"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#abdd97b4bedda111df8208ec96a894f8f">QwtAbstractScaleDraw::minimumExtent</a></div><div class="ttdeci">double minimumExtent() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00302">qwt_abstract_scale_draw.cpp:302</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ac174255c334b995ca010a6964597d5f2"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ac174255c334b995ca010a6964597d5f2">QwtAbstractScaleDraw::setMinimumExtent</a></div><div class="ttdeci">void setMinimumExtent(double)</div><div class="ttdoc">Set a minimum for the extent.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00289">qwt_abstract_scale_draw.cpp:289</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ac1d855f856b746559c41f4f06ec5442d"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ac1d855f856b746559c41f4f06ec5442d">QwtAbstractScaleDraw::label</a></div><div class="ttdeci">virtual QwtText label(double) const</div><div class="ttdoc">Convert a value into its representing label.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00375">qwt_abstract_scale_draw.cpp:375</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ac4442d7480db1288971e7eac15142467"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ac4442d7480db1288971e7eac15142467">QwtAbstractScaleDraw::draw</a></div><div class="ttdeci">virtual void draw(QPainter *, const QPalette &amp;) const</div><div class="ttdoc">Draw the scale.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00169">qwt_abstract_scale_draw.cpp:169</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ad0e889e3a5b5af8adb0d6a507e7fbc95"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ad0e889e3a5b5af8adb0d6a507e7fbc95">QwtAbstractScaleDraw::penWidthF</a></div><div class="ttdeci">qreal penWidthF() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00156">qwt_abstract_scale_draw.cpp:156</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ad15e796d2fd8bd1e2cfa66715bf58e2e"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ad15e796d2fd8bd1e2cfa66715bf58e2e">QwtAbstractScaleDraw::scaleDiv</a></div><div class="ttdeci">const QwtScaleDiv &amp; scaleDiv() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00133">qwt_abstract_scale_draw.cpp:133</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_ad3b290a76426a1a22a870e84c1655666"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#ad3b290a76426a1a22a870e84c1655666">QwtAbstractScaleDraw::spacing</a></div><div class="ttdeci">double spacing() const</div><div class="ttdoc">Get the spacing.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00271">qwt_abstract_scale_draw.cpp:271</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_adc4d3f491b28ee39d728a4a4a9cdd494"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#adc4d3f491b28ee39d728a4a4a9cdd494">QwtAbstractScaleDraw::~QwtAbstractScaleDraw</a></div><div class="ttdeci">virtual ~QwtAbstractScaleDraw()</div><div class="ttdoc">Destructor.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00066">qwt_abstract_scale_draw.cpp:66</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_af900d3a139451b70e6ce5acee5e2df7e"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#af900d3a139451b70e6ce5acee5e2df7e">QwtAbstractScaleDraw::ScaleComponents</a></div><div class="ttdeci">QFlags&lt; ScaleComponent &gt; ScaleComponents</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8h_source.html#l00051">qwt_abstract_scale_draw.h:51</a></div></div>
<div class="ttc" id="aclass_qwt_abstract_scale_draw_html_af975410588db6103f281e49d0b43c6a6"><div class="ttname"><a href="class_qwt_abstract_scale_draw.html#af975410588db6103f281e49d0b43c6a6">QwtAbstractScaleDraw::enableComponent</a></div><div class="ttdeci">void enableComponent(ScaleComponent, bool enable=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__abstract__scale__draw_8cpp_source.html#l00079">qwt_abstract_scale_draw.cpp:79</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html"><div class="ttname"><a href="class_qwt_scale_div.html">QwtScaleDiv</a></div><div class="ttdoc">A class representing a scale division.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00033">qwt_scale_div.h:34</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_a182bbda9901c708ff1362b105274129f"><div class="ttname"><a href="class_qwt_scale_div.html#a182bbda9901c708ff1362b105274129f">QwtScaleDiv::lowerBound</a></div><div class="ttdeci">double lowerBound() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8cpp_source.html#l00131">qwt_scale_div.cpp:131</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_a5378d436a44ca78294e4d421228e5b6c"><div class="ttname"><a href="class_qwt_scale_div.html#a5378d436a44ca78294e4d421228e5b6c">QwtScaleDiv::upperBound</a></div><div class="ttdeci">double upperBound() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8cpp_source.html#l00151">qwt_scale_div.cpp:151</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736c"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736c">QwtScaleDiv::TickType</a></div><div class="ttdeci">TickType</div><div class="ttdoc">Scale tick types.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00037">qwt_scale_div.h:38</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736ca42fbe3ad54900057e75225ff5e68cc4a"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca42fbe3ad54900057e75225ff5e68cc4a">QwtScaleDiv::MediumTick</a></div><div class="ttdeci">@ MediumTick</div><div class="ttdoc">Medium ticks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00046">qwt_scale_div.h:46</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca6af9f3b95636a6fdebb4824c6db0ab9e">QwtScaleDiv::MinorTick</a></div><div class="ttdeci">@ MinorTick</div><div class="ttdoc">Minor ticks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00043">qwt_scale_div.h:43</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736ca86796bbf72d5eb7162a924ba27ce6553">QwtScaleDiv::NTickTypes</a></div><div class="ttdeci">@ NTickTypes</div><div class="ttdoc">Number of valid tick types.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00053">qwt_scale_div.h:52</a></div></div>
<div class="ttc" id="aclass_qwt_scale_div_html_af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60"><div class="ttname"><a href="class_qwt_scale_div.html#af21aedaa886dd5e067cf63505838736cadda390d4186a0ff20ece95d986c1ae60">QwtScaleDiv::MajorTick</a></div><div class="ttdeci">@ MajorTick</div><div class="ttdoc">Major ticks.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__div_8h_source.html#l00049">qwt_scale_div.h:49</a></div></div>
<div class="ttc" id="aclass_qwt_scale_map_html"><div class="ttname"><a href="class_qwt_scale_map.html">QwtScaleMap</a></div><div class="ttdoc">A scale map.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__scale__map_8h_source.html#l00026">qwt_scale_map.h:27</a></div></div>
<div class="ttc" id="aclass_qwt_text_html"><div class="ttname"><a href="class_qwt_text.html">QwtText</a></div><div class="ttdoc">A class representing a text.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00051">qwt_text.h:52</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_a0953aabc098f410dba89bbada47f2e5aa35990c4c74747580e9357d490ebce42f"><div class="ttname"><a href="class_qwt_text.html#a0953aabc098f410dba89bbada47f2e5aa35990c4c74747580e9357d490ebce42f">QwtText::MinimumLayout</a></div><div class="ttdeci">@ MinimumLayout</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8h_source.html#l00141">qwt_text.h:140</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_a2b621d3104ead2185d2d939b1f5b9d68"><div class="ttname"><a href="class_qwt_text.html#a2b621d3104ead2185d2d939b1f5b9d68">QwtText::setLayoutAttribute</a></div><div class="ttdeci">void setLayoutAttribute(LayoutAttribute, bool on=true)</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00494">qwt_text.cpp:494</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_a40ec54788db82cfb2941cff8c4621c15"><div class="ttname"><a href="class_qwt_text.html#a40ec54788db82cfb2941cff8c4621c15">QwtText::textSize</a></div><div class="ttdeci">QSizeF textSize() const</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00570">qwt_text.cpp:570</a></div></div>
<div class="ttc" id="aclass_qwt_text_html_afcbaa37913afaa0e92a649923cfe500b"><div class="ttname"><a href="class_qwt_text.html#afcbaa37913afaa0e92a649923cfe500b">QwtText::setRenderFlags</a></div><div class="ttdeci">void setRenderFlags(int)</div><div class="ttdoc">Change the render flags.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__text_8cpp_source.html#l00304">qwt_text.cpp:304</a></div></div>
<div class="ttc" id="aclass_qwt_transform_html"><div class="ttname"><a href="class_qwt_transform.html">QwtTransform</a></div><div class="ttdoc">A transformation between coordinate systems.</div><div class="ttdef"><b>Definition:</b> <a href="qwt__transform_8h_source.html#l00035">qwt_transform.h:36</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><b>qwt_abstract_scale_draw.cpp</b></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
